package com.yuyou.train.service.api.user.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class UserPraise implements Serializable {
    /**
     * 业务主键
     */
    private String id;

    /**
     * 用户主键
     */
    private String foreignId;

    /**
     * 用户主键
     */
    private String userId;

    /**
     * 资源类别：01：视频，02：音频，03：文件，04：试卷，05：作业（自评作业），06：作业（提交型作业），07感想
     */
    private String resourceType;

    /**
     * 赞踩：0：赞，1：踩
     */
    private String isPraise;

    /**
     * 点赞数
     */
    private Integer points;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getForeignId() {
        return foreignId;
    }

    public void setForeignId(String foreignId) {
        this.foreignId = foreignId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getIsPraise() {
        return isPraise;
    }

    public void setIsPraise(String isPraise) {
        this.isPraise = isPraise;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}